Name | Description | |
---|---|---|
NStringMap<T> Constructor | Initializing constructor. |
The following tables list the members exposed by NStringMap<T>.
Name | Description | |
---|---|---|
NStringMap<T> Constructor | Initializing constructor. |
Name | Description | |
---|---|---|
CaseSensitive | Gets whether this string map is case sensitive or not. The case sensitivity of the string map is determined by the parameter passed to its constructor. | |
Count | Gets the number of key-value pairs in the map. | |
Item | Indexed accessor. | |
Keys | Gets a view of the keys contained in the map. | |
Values | Gets a view of the values contained in the map. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds the specified key-value pair. Throws an exception if a key-value pair with the same key already exists. | |
Clear | Removes all entries from the map. | |
Contains | Overloaded. Checks whether the map contains a key equal to the given string. | |
CopyTo | Copies all items of the map to the specified array, starting from the specified array index. | |
Get | Gets the value that corresponds to the specified key. Throws an exception, if item for this key does not exist. | |
GetItems | Gets the subset of all key-value pairs in this map whose key macthes the given search string and match mode. | |
GetItemsStartingWith | Gets the subset of all key-value pairs in this map whose key starts with the given prefix. | |
GetIterator | Gets a key-value pair iterator. | |
GetSimilarItems | Gets the subset of all key-value pairs in this map whose key is found to be similar to the given string using the specified string similarity context. | |
Remove | Overloaded. Removes the given key-value pair from the map. | |
Set | Sets the value corresponding to the given key. If key-value association already exists, the value is replaced. | |
ToArray | Converts this set to an array. | |
TryGet | Tries to get the value for the specified key. | |
WildcardSearch | Performs a wildcard search on the items in this map and returns the subset of all key-value pairs whose key matches the specified search string. The following wildcard characters can be used:
* - matches zero or more characters ? - matches exactly one character |